import {Module} from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

import {BlogEntity} from './blog.entity'
import {BlogController} from './blog.controller'
import {BlogService} from './blog.service'
import {TagService} from './../tag/tag.service'
import { TagsEntity } from './../tag/tag.entity'
import { UserEntity } from '../user/user.entity'
import { UserService } from '../user/user.service'

@Module({
    imports:[
        TypeOrmModule.forFeature([BlogEntity,TagsEntity,UserEntity]),
    ],
    controllers:[BlogController],
    providers:[BlogService,TagService,UserService],
})
export class BlogModule{}
